fdt: Fixup only valid memory banks
authorThierry Reding <[email protected]>
Thu, 15 Feb 2018 18:05:59 +0000 (19:05 +0100)
committerTom Rini <[email protected]>
Fri, 23 Feb 2018 15:40:50 +0000 (10:40 -0500)
commited5af03f9bb8905f1e94d68ab49f22d7f061d75f
treeed1c83c6a1efcac0411a4239b9dabe6718aec57d
parent78b7d37b1b2b692b9e38780bdbae430b25202932
fdt: Fixup only valid memory banks

Memory banks with address 0 and size 0 are empty and should not be
passed to the OS via device tree.

Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
common/fdt_support.c